<template>
  <div class="home">
    <!-- 父组件向子组件传值，通过属性绑定的方式 -->
    <headers :name="name"></headers>
    <img alt="Vue logo" src="../assets/logo.png">
    <!-- <HelloWorld msg="Welcome to Your Vue.js App"/> -->
  </div>
</template>

<script>
// @ is an alias to /src
// import HelloWorld from '@/components/HelloWorld.vue';
import headers from '@/components/newComponents.vue';
export default {
  name: 'Home',
  data() {
    return {
      name: 'doen'
    }
  },
  components: {
    // HelloWorld,
    headers
  }
}
</script>
